/*
 * pstcache.h
 *
 *  Created on: Oct 12, 2011
 *      Author: welcome
 */

#ifndef PSTCACHE_H_
#define PSTCACHE_H_

#include <rdesktop.h>

#ifdef __cplusplus
extern "C" {
#endif

extern void pstcache_touch_bitmap(uint8 cache_id, uint16 cache_idx,
		uint32 stamp);
extern RD_BOOL pstcache_load_bitmap(uint8 cache_id, uint16 cache_idx);
extern RD_BOOL pstcache_save_bitmap(uint8 cache_id, uint16 cache_idx,
		uint8 * key, uint8 width, uint8 height, uint16 length, uint8 * data);
extern int pstcache_enumerate(uint8 id, HASH_KEY * keylist);
extern RD_BOOL pstcache_init(uint8 cache_id);

#ifdef __cplusplus
}
#endif

#endif /* PSTCACHE_H_ */
